$wall_id = "-192799985";
$group_id = preg_replace("/-/i", "", $wall_id); // Удаляем минус у ID групп, понадобится для ссылки.
$count = "5";
$token = "ba15f57cba15f57cba15f57c15b9003a98bba15ba15f57cdf0c4ec34f633d8ba4b38cae";
$api_url = file_get_contents("https://api.vk.com/api.php?oauth=1&method=wall.get&owner_id={$wall_id}&count={$count}&v=5.131&access_token={$token}");
$response = json_decode($api_url, true);
?>
foreach($response['response']['items'] as $post): ?>
if(isset($post['text'])): ?>
=$post['text']?>
=date("Y-m-d H:i:s", $post['date']);?>
echo '
https://vk.com/wall-'.$group_id.'_'.$post['id'].'';?>